<?php


namespace app\api\model;


class Slide extends BaseModel {

    protected $visible = ['id','title','images'];

    public function getSlide(){
        return self::where('is_default',1)->find();
    }


}